package com.fenrirtec.aepp.common.service;

import java.util.List;

import com.fenrirtec.aepp.common.condition.NewsNoticeCondition;
import com.fenrirtec.aepp.common.dto.NewsNoticeDto;

public interface NewsNoticeService {	
	//根据传入的类别显示所对应的信息
	List<NewsNoticeDto> searchByCategory(Integer category);
	List<NewsNoticeDto> searchByCnd(NewsNoticeCondition condition);
    Integer countByCnd(NewsNoticeCondition condition);
    Boolean publish(NewsNoticeDto newsNoticeDto);
    Boolean edit(NewsNoticeDto newsNoticeDto);
    Boolean remove(Integer newsNoticeId);
    NewsNoticeDto findDetail(Integer newsNoticeId);
}